﻿using System;
using System.Collections.Generic;

using JumpFleetGameLib.Objects.Ships;

namespace JumpFleetGameLib.Objects.Object_Creator
{
   public class ObjectCreator
   {
       private static ShipFactory factoryObject = null;

       public static ShipFactory GetObject(string name)
       {
           if(name.Equals("Ship"))
               factoryObject = new ShipWarehouse();

           return factoryObject;
       }
   }
}
